package sivan.annotation;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Date;

@Configuration
public class Hello {

    @Bean(name = "helloworl")
    public Date impl() {
        return new Date();
    }
}